#ifndef VENUS_GRAPHICS_COLOR_H
#define VENUS_GRAPHICS_COLOR_H

namespace venus {
template<typename T>
class Color {
 public:
   Color(T r, T g, T b, T a) : r(r), g(g), b(b), a(a) { }
   Color() : r(0), g(0), b(0), a(0) { }
   T *ptr() { return &r; }
   const T *ptr() const { return &r; }
   T r, g, b, a;
};

typedef Color<float> Colorf;
typedef Color<double> Colord;
}//namespace venus

#endif//VENUS_GRAPHICS_COLOR_H
